<extend name="_Layout/main"/>
<block name="main">
        <script type="text/javascript">
                $(".col-nav ul li").eq(2).addClass("active");
     </script>
<!--            <div class="col-md-12 col-xs-12 p-0">
                <div class="swiper-container swiper1"> 
                   <div class="swiper-wrapper">
                        <volist name="banner" id="vo">
                        <div class="swiper-slide h-500 c-e-i"><img src="{$vo.img|get_cover}"></div>
                        </volist>
                   </div>
                   <div class="swiper-pagination swiper-pagination1"></div>
                   <div class="swiper-button-prev swiper-button-prev1 swiper-button-hide"><i class="fa fa-angle-left swiper-ico"></i></div>
                   <div class="swiper-button-next swiper-button-next1 swiper-button-hide"><i class="fa fa-angle-right swiper-ico"></i></div>
              </div> 
            </div>-->
          
            <div class="col-md-12 col-xs-12 p-0 c-p-p">
                <div class="col-md-12"><h3>{$title}</h3></div>
                
                <volist name='clothes' id='vo'>
                    <div class="col-md-3 col-xs-6 products-li">
                        <div class="h-250 c-e-i c-h-i">
                             <a class="div_con" href="{:U('Home/Index/detail',array('id'=>$vo['id']))}"><img src="{$vo.img|get_cover}"></a>
                           <div class="pro-r">
                         <div class="col-md-12 p-0">
                         <div class="w-100">
<!--                             <i class="fa fa-search pro-r-ico p-s-i"></i>
                             <input type="text" class="c-p-s" placeholder="商品關鍵字...">-->
                         </div>
                         </div>
                           
                        </div>
                        </div>
                        <p class="p-title"><a href="{:U('Home/Index/detail',array('id'=>$vo['id']))}">{$vo.name}</a></p>
                        <p>
                        <empty name="vo.discount">
                             <span class="p-price">￥{$vo.price}</span>
                             <else />
                             <span class="old-price">￥{$vo.price}</span>
                        </empty>
                        <empty name="vo.discount">
                             
                             <else />
                             <span class="p-price">￥{$vo.discount}
                        </empty>
                        </span>
                    </p>
                        <div class="c-b">
                             <if condition="$vo.new eq 1">
                             <span class="c-p-1">NEW</span>
                             <else />
                             <span class="c-p-2">SALE</span>
                             </if>
                        </div>
                    </div>
                </volist>
                
                
            </div>
     
     
            <div class="col-md-12 col-sm-12 col-xs-12 page text-center">
                 {$page}
<!--                <a><i class="fa fa-angle-left"></i></a>
                <a>1</a>
                <a>1</a>
                <a>3</a>
                <a><i class="fa fa-angle-right"></i></a>-->
            </div>
</block>
